<?php
/***
 * admin interface
 * for modifying forums layout
 *
 **/

request 'tpl.php';

// list all forums and drop down boxes
if( $_REQUEST['start'] > 0
    && $_REQUEST['start'] < $_REQUEST['end'] ) {
  $start = (int)$_REQUEST['start'];
  $end =  (int)$_REQUEST['end'];
 
  tplHead();
  foreach( getFora(null, $start, $end) as $forum ) {
    tplEditForum( $forum );
    tplNewForum();
  }
  tplFoot();
}

?>
